//
//  HYCustomActionSheet.h
//  HYNeiHan
//
//  Created by 上官惠阳 on 16/9/25.
//  Copyright © 2016年 上官惠阳. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HYCustomActionSheet;
typedef void(^HYCustomActionSheetItemClickHandle)(HYCustomActionSheet *actionSheet, NSInteger currentIndex, NSString *title);

@interface HYCustomActionSheet : UIView

/**
 *  初始化
 *
 *  @param cancelTitle 取消
 *  @param alertTitle  提示文字
 *  @param title       子控件文本
 */
+ (instancetype)actionSheetWithCancelTitle:(NSString *)cancelTitle alertTitle:(NSString *)alertTitle SubTitles:(NSString *)title,...NS_REQUIRES_NIL_TERMINATION;

- (void)setCustomActionSheetItemClickHandle:(HYCustomActionSheetItemClickHandle)itemClickHandle;

- (void)setActionSheetDismissItemClickHandle:(HYCustomActionSheetItemClickHandle)dismissItemClickHandle;

- (void)show;
@end
